Q3AttributeSet_Get
You can use theQ3AttributeSet_Get
function to get the data associated with an attribute in an attribute set.
TQ3Status Q3AttributeSet_Get ( TQ3AttributeSet attributeSet, TQ3AttributeType type, void *data);
attributeSet
- An attribute set.
type
- An attribute type.
data
- On entry, a pointer to a structure large enough to hold the attribute data associated with attributes of the specified type. On exit, a pointer to the attribute data of the attribute having the specified type.
DESCRIPTION
TheQ3AttributeSet_Get
function returns, in thedata
parameter, the data currently associated with the attribute whose type is specified by thetype
parameter in the attribute set specified by theattributeSet
parameter. If no attribute of that type is in the attribute set,Q3AttributeSet_Get
returnskQ3Failure
and posts the errorkQ3ErrorAttributeNotContained
.If you pass the value
NULL
in thedata
parameter, no data is copied back to your application.ERRORS
kQ3ErrorAttributeNotContained